how to integrate trigonometric functions case 4